package edu.sctu.java.day1013;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

public class Test05 {
    public static void main(String[] args) {
        //字符流
        try {
            Writer writer = new FileWriter("outpush.txt");

            writer.write("hello,world");

            writer.close();
        }catch (IOException e){
            e.printStackTrace();
        }
    }
}
